package com.yundasys.lab10designpattern.observer;

/**
 * @PACKAGE_NAME: com.yundasys.lab10designpattern.observer
 * @NAME: Client
 * @USER: jiangta
 * @DATE: 2021/11/4
 * @TIME: 9:29 上午
 * @PROJECT_NAME: springboot-labs
 */
public class Client {

    public static void main(String[] args) {
        Subject subject = new Subject();

        new BinaryObserver(subject);
        new HexaObserver(subject);

        subject.setState(11);
    }
}
